﻿using System;

namespace Lypshare.Net.Server
{
	/// <summary>
	/// Interface validator.
	/// </summary>
    public interface IValidator
    {
        // --------------------------------------------------------
        // Interface Functions
        // --------------------------------------------------------


        /// <summary>
        /// Auth the specified username and password.
        /// </summary>
        /// <param name='username'>
        /// If set to <c>true</c> username.
        /// </param>
        /// <param name='password'>
        /// If set to <c>true</c> password.
        /// </param>
        bool Auth(String username, String password);

    } // interface IValidator
} // namespace Lypshare.Net.Server